<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JSON</title>
</head>
<body>
<script>
    var student = {
        "name": "ZhangSan",
        "age": "28",
        "address": "ShangHai"
    };
    alert(student.name);
</script>
</body>
</html>